class Solution {
// a < b:
// 1 + (a - b) >> 31 == 0
// a > b:
// 1 + (a - b) >> 31 == 1
public:
    int maximum(int a, int b) {
        long c = a, d = b;
        int k = 1 + ((c - d) >> 63);
        return k * a + (!k) * b;
    }
};

